package com.tts.cui;

import java.util.Scanner;

	
	public class SelectCUI {
	
		public static void firstSelect() {
			System.out.println("欢迎进入12306山寨网！");
			System.out.println("1---------查询车票");
			System.out.println("2---------购买车票");
			System.out.println("3---------退票");
			System.out.println("4---------退出");
			System.out.println("请选择您需要的服务:");
			Scanner input=new Scanner(System.in);
			String selected=input.nextLine();
			switch(selected) {
				case "1" :new QueryCUI().ShowQuery();
							break;
				case "2" :break;
				case "3" :break;
				case "4" :break;
				default:;
			}
			input.close();
		}
	}